package com.example.goodpet.home.homeRecommend.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class Tips {

    @SerializedName("code")
    private Integer code;
    @SerializedName("result")
    private ResultDTO result;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public ResultDTO getResult() {
        return result;
    }

    public void setResult(ResultDTO result) {
        this.result = result;
    }

    public static class ResultDTO {
        @SerializedName("tips_main")
        private List<TipsMainDTO> tipsMain;
        @SerializedName("tips_dog")
        private List<TipsDogDTO> tipsDog;
        @SerializedName("tips_cat")
        private List<TipsCatDTO> tipsCat;
        @SerializedName("other")
        private List<OtherDTO> other;
        @SerializedName("tips_health")
        private List<TipsHealthDTO> tipsHealth;

        public List<TipsMainDTO> getTipsMain() {
            return tipsMain;
        }

        public void setTipsMain(List<TipsMainDTO> tipsMain) {
            this.tipsMain = tipsMain;
        }

        public List<TipsDogDTO> getTipsDog() {
            return tipsDog;
        }

        public void setTipsDog(List<TipsDogDTO> tipsDog) {
            this.tipsDog = tipsDog;
        }

        public List<TipsCatDTO> getTipsCat() {
            return tipsCat;
        }

        public void setTipsCat(List<TipsCatDTO> tipsCat) {
            this.tipsCat = tipsCat;
        }

        public List<OtherDTO> getOther() {
            return other;
        }

        public void setOther(List<OtherDTO> other) {
            this.other = other;
        }

        public List<TipsHealthDTO> getTipsHealth() {
            return tipsHealth;
        }

        public void setTipsHealth(List<TipsHealthDTO> tipsHealth) {
            this.tipsHealth = tipsHealth;
        }

        public static class TipsMainDTO {
            @SerializedName("id")
            private Integer id;
            @SerializedName("name")
            private String name;
            @SerializedName("content")
            private String content;

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }
        }

        public static class TipsDogDTO {
            @SerializedName("id")
            private Integer id;
            @SerializedName("name")
            private String name;
            @SerializedName("content")
            private String content;

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }
        }

        public static class TipsCatDTO {
            @SerializedName("id")
            private Integer id;
            @SerializedName("name")
            private String name;
            @SerializedName("content")
            private String content;

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }
        }

        public static class OtherDTO {
            @SerializedName("id")
            private Integer id;
            @SerializedName("content")
            private String content;

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }
        }

        public static class TipsHealthDTO {
            @SerializedName("id")
            private Integer id;
            @SerializedName("name")
            private String name;
            @SerializedName("content")
            private String content;

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }
        }
    }
}